Repository navigation
Run page: unfinished fix rounds with Resume, missing codegen values; codegen environment settings - #242
Merged
Conversation
nambok
force-pushed
the
fix/plan-coverage-and-round-budgets
branch
from
October 27, 2026 16:10
baae187 to
19033c7
Compare
… Resume When the gateway reports round_incomplete on a finished run, the run page shows "Pull request open; the last fix round didn't finish", why, and the commits the round pushed, with a Resume button that calls the run's retry path (the gateway resumes the round on the same run). The header badge reads "PR open, fix unfinished" instead of Done. Viewers see the state without the button. openapi-fields regenerated from CoderHelm/coderhelm-platform@ce18d85 (Run.round_incomplete, RoundIncomplete, PushedCommit). New e2e spec with 1440 and 390 screenshots.
…ording - Settings, Repositories: each repository links to its Codegen environment (admins only): the public values its code generators read in the sandbox, with a warning never to put secrets there (the gateway refuses names and values that look like credentials, and the page shows why). - A run stopped because a generator needed public values the repository doesn't set names them, says where to set them, and links there with the names pre-filled; Retry after. - The unfinished-round card says the pull request is unchanged and where the round's work is saved (its coderhelm-wip branch), and that Resume lands it as one commit. openapi-fields regenerated from CoderHelm/coderhelm-platform@123a42c (Run.codegen_env_missing, RoundIncomplete.wip_branch). New e2e spec codegen-env.spec.ts with 1440 and 390 screenshots.
…(rebased on main)
nambok
force-pushed
the
fix/plan-coverage-and-round-budgets
branch
from
October 27, 2026 19:58
fa28892 to
4052023
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is the dashboard side of CoderHelm/coderhelm-platform#331. The run page now shows two new states plainly:
Changes
completedrun withround_incompleteshows an attention card:coderhelm-wip/…branch)POST /api/runs/{id}/retry; the gateway resumes the round from its WIP branchThe header badge reads "PR open, fix unfinished". Viewers see the state but get no button.
codegen_env_missingnames the missing values and says where to set them. Set the values links to the repository's codegen environment with the names pre-filled. Retry is also offered./settings/repos/codegen?repo=…:openapi-fields.tsis regenerated from coderhelm-platform@2be1858, the platform PR's head. Regenerate atmainonce that PR merges.Verification
npm run typecheck,npm run lint,npm run check:openapi(against 2be1858) andnpm run buildpass.e2e/round-incomplete.spec.ts: 3 testse2e/codegen-env.spec.ts: 5 testsTogether they cover desktop 1440 and phone 390, Resume calling retry, the pre-filled names, saving, refusing a secret, the link from the repositories list, and members not getting the page.
e2e/close-runs.spec.tsande2e/run-questions.spec.tsstill pass. 28 tests in total, rebased on main.